package com.xbx.admin.mapper;

import com.xbx.admin.dataobject.RoleModuleDO;
import com.xbx.admin.dataobject.RoleModuleDOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface RoleModuleDOMapper {
    int countByExample(RoleModuleDOExample example);

    int deleteByExample(RoleModuleDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoleModuleDO record);

    int insertSelective(RoleModuleDO record);

    List<RoleModuleDO> selectByExampleWithRowbounds(RoleModuleDOExample example, RowBounds rowBounds);

    List<RoleModuleDO> selectByExample(RoleModuleDOExample example);

    RoleModuleDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RoleModuleDO record, @Param("example") RoleModuleDOExample example);

    int updateByExample(@Param("record") RoleModuleDO record, @Param("example") RoleModuleDOExample example);

    int updateByPrimaryKeySelective(RoleModuleDO record);

    int updateByPrimaryKey(RoleModuleDO record);
}